package com.ruoyi.swla2.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 基础参数对象 dw_value
 *
 * @author gdqt
 * @date 2023-06-16
 */
public class ParamsValue extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 平台表单自增主键
     */
    private String ID;

    /**
     * 租户ID
     */
    @Excel(name = "租户ID")
    private String tenantId;

    /**
     * 层级编号
     */
    @Excel(name = "层级编号")
    private String AreaID;

    /**
     * 修改时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "修改时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date ChangeTime;

    /**
     * 综合水价
     */
    @Excel(name = "综合水价")
    private BigDecimal WaterPrice;

    /**
     * 综合成本
     */
    @Excel(name = "综合成本")
    private BigDecimal Cost;

    /**
     * 夜间时间段
     */
    @Excel(name = "夜间时间段")
    private String Night;

    /**
     * 单个漏点水量估计
     */
    @Excel(name = "单个漏点水量估计")
    private BigDecimal DDLSL;

    /**
     * 单个漏点探漏成本预估
     */
    @Excel(name = "单个漏点探漏成本预估")
    private BigDecimal ddtlCost;

    /**
     * 单个漏点耗材成本预估
     */
    @Excel(name = "单个漏点耗材成本预估")
    private BigDecimal ddhcCost;

    /**
     * 单个漏点人工开挖成本预估
     */
    @Excel(name = "单个漏点人工开挖成本预估")
    private BigDecimal ddrgCost;

    /**
     * dn75（含）以上管道长度
     */
    @Excel(name = "dn75", readConverterExp = "含=")
    private String pipeLength;

    /**
     * 单位供水量管长
     */
    @Excel(name = "单位供水量管长")
    private String pipeLengthunit;

    /**
     * 年平均出厂压力
     */
    @Excel(name = "年平均出厂压力")
    private String pressureYear;

    /**
     * 系统告警弹窗显示，1：是-有报警则弹窗提示，0：否-只记录报警免打扰，默认1
     */
    @Excel(name = "系统告警弹窗显示，1：是-有报警则弹窗提示，0：否-只记录报警免打扰，默认1")
    private String Warning;

    /**
     * 0:基本参数，1：预警参数-大分区，2：预警参数-DMA，3：预警参数-大用户，4：预警参数-设备
     */
    @Excel(name = "0:基本参数，1：预警参数-大分区，2：预警参数-DMA，3：预警参数-大用户，4：预警参数-设备")
    private String type;

    public void setID(String ID) {
        this.ID = ID;
    }

    public String getID() {
        return ID;
    }

    public void setTenantId(String tenantId) {
        this.tenantId = tenantId;
    }

    public String getTenantId() {
        return tenantId;
    }

    public void setAreaID(String AreaID) {
        this.AreaID = AreaID;
    }

    public String getAreaID() {
        return AreaID;
    }

    public void setChangeTime(Date ChangeTime) {
        this.ChangeTime = ChangeTime;
    }

    public Date getChangeTime() {
        return ChangeTime;
    }

    public void setWaterPrice(BigDecimal WaterPrice) {
        this.WaterPrice = WaterPrice;
    }

    public BigDecimal getWaterPrice() {
        return WaterPrice;
    }

    public void setCost(BigDecimal Cost) {
        this.Cost = Cost;
    }

    public BigDecimal getCost() {
        return Cost;
    }

    public void setNight(String Night) {
        this.Night = Night;
    }

    public String getNight() {
        return Night;
    }

    public void setDDLSL(BigDecimal DDLSL) {
        this.DDLSL = DDLSL;
    }

    public BigDecimal getDDLSL() {
        return DDLSL;
    }

    public void setDdtlCost(BigDecimal ddtlCost) {
        this.ddtlCost = ddtlCost;
    }

    public BigDecimal getDdtlCost() {
        return ddtlCost;
    }

    public void setDdhcCost(BigDecimal ddhcCost) {
        this.ddhcCost = ddhcCost;
    }

    public BigDecimal getDdhcCost() {
        return ddhcCost;
    }

    public void setDdrgCost(BigDecimal ddrgCost) {
        this.ddrgCost = ddrgCost;
    }

    public BigDecimal getDdrgCost() {
        return ddrgCost;
    }

    public void setPipeLength(String pipeLength) {
        this.pipeLength = pipeLength;
    }

    public String getPipeLength() {
        return pipeLength;
    }

    public void setPipeLengthunit(String pipeLengthunit) {
        this.pipeLengthunit = pipeLengthunit;
    }

    public String getPipeLengthunit() {
        return pipeLengthunit;
    }

    public void setPressureYear(String pressureYear) {
        this.pressureYear = pressureYear;
    }

    public String getPressureYear() {
        return pressureYear;
    }

    public void setWarning(String Warning) {
        this.Warning = Warning;
    }

    public String getWarning() {
        return Warning;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getType() {
        return type;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("ID", getID())
                .append("tenantId", getTenantId())
                .append("AreaID", getAreaID())
                .append("ChangeTime", getChangeTime())
                .append("WaterPrice", getWaterPrice())
                .append("Cost", getCost())
                .append("Night", getNight())
                .append("DDLSL", getDDLSL())
                .append("ddtlCost", getDdtlCost())
                .append("ddhcCost", getDdhcCost())
                .append("ddrgCost", getDdrgCost())
                .append("pipeLength", getPipeLength())
                .append("pipeLengthunit", getPipeLengthunit())
                .append("pressureYear", getPressureYear())
                .append("Warning", getWarning())
                .append("type", getType())
                .toString();
    }
}
